import json

from scripts.config import BASE_PATH

#
# def get_list():
#     with open('../data/data.json',mode='r',encoding='utf-8')as f:
#         data = json.loads(f.read())
#         real_data = []
#         for i in data:
#             real_data.append(tuple(i.values()))
#         return real_data

def get_list():
    with open(BASE_PATH+'/data/添加_data.json',mode='r',encoding='utf-8')as f:
        data = json.loads(f.read())
        real_data = []
        for i in data:
            real_data.append(tuple(i.values()))
        return real_data
